package praktikumid.kaug;

import java.awt.Graphics;

import javax.swing.JFrame;

public class Paint extends JFrame {

	public static void main(String[] args) {
		Paint p = new Paint();
		p.getContentPane().add(new Lquend());
		
		p.setDefaultCloseOperation(EXIT_ON_CLOSE);
		p.setVisible(true);
		
		System.out.println("fin");
	}
	
	@Override
	public void paint(Graphics g) {
		System.out.println("paint paint");
		super.paint(g);
	}
}
